<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="../js/jquery-3.6.0.min.js"></script>
    <script>
        $(function () {
            $("#eq").click(function () {
                let txt3 = parseInt($("#t1").val()) + parseInt($("#t2").val());
                $("#t3").val(txt3);
            });
        });
    </script>
</head>
<body>
<input type="text" id="t1"/>+
<input type="text" id="t2"/>
<input type="button" id="eq" value="="/>
<input type="text" id="t3"/>
</body>
</html>